from core.tasks.TaskContxet import TaskContxet


# 爬虫上下文
class SpiderTaskContxet(TaskContxet):
    spiderTaskEngine = None

    # 构造函数
    def __init__(self, spiderTaskEngine):
        super().__init__()
        self.spiderTaskEngine = spiderTaskEngine

    def getCtsToken(self):
        return self.spiderTaskEngine.getCtsToken()
